
<%@ page language="java" contentType="text/html; charset=GBK"%>
<%@ page import="com.database.DataBase" %>
<html>
  <head>
    <title>VipCardSubmit.jsp</title>
  </head>
  <body>
  <%
  		
        String branchID=1+"";
        String vipID=request.getParameter("VipID");
        String wintypeid=request.getParameter("wintypeid");
        String EnableSms=request.getParameter("EnableSms");
        String CardDesc=request.getParameter("CardDesc");
       // String CardDesc=new String(request.getParameter("CardDesc").toString().getBytes("ISO8859_1"));
        System.out.println("--11111111-"+CardDesc);
        
        DataBase base=new DataBase();
        String sql="insert into cardlist(carddesc,VipID,wintypeid,wintypename,enableSms,BranchID) values('"+CardDesc+"','"+vipID+"','"+wintypeid+"','"+wintypeid+"','"+EnableSms+"','1')";
        base.executeUpdate(sql);
        base.closeStmt();
        base.closeConn();
        response.sendRedirect("Vipdjset.jsp");
  %>
  </body>
</html>
